package com.biglead.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.biglead.admin.param.PmsBrandParam;
import com.biglead.admin.pojo.PmsBrand;

import java.util.List;

public interface PmsBrandService {
    List<PmsBrand> listAllBrand();

    boolean createBrand(PmsBrandParam pmsBrand);

    boolean updateBrand(Long id, PmsBrandParam pmsBrandParam);

    boolean deleteBrand(Long id);

    Page<PmsBrand> listPageBrand(String keyword, Integer showStatus, Integer pageNum, Integer pageSize);

    PmsBrand getBrand(Long id);

    boolean deleteBrandFromList(List<Long> ids);

    boolean updateShowStatus(List<Long> ids, Integer showStatus);

    boolean updateFactoryStatus(List<Long> ids, Integer factoryStatus);

}
